import axios from '@/utils/request';

export default {


    getOne(uid) {
        return axios({
            url: '/GWC/getuid',
            method: 'get',
            params: {
                'uid': uid
            }
        })
    },
    addGWC(gwc) {
        return axios({
            url: '/GWC/addOne',
            method: 'post',
            data: gwc
        })
    },
    del(uid){
        return axios({
            url: '/GWC/del',
            method: 'delete',
            params:{
                uid:uid
            }
        })
    },
    delbyid(id){
        return axios({
            url: '/GWC/delbyid',
            method: 'delete',
            params:{
                id:id
            }
        })
    }


}